{template 'common/header'}
<!-- <title>{php echo $this->set['texts']['become']}</title> -->
<title>领取余额</title>
<style type="text/css">
body {margin:0; font-family:'微软雅黑'; background:#f4f4f4;}
.top {overflow:hidden}
.top img { width:100%;}
a{ text-decoration: none;}
.main {height:520px; padding:30px 12px;}
.main .text {height:20px; font-size:14px; line-height:20px; color:#666;}
.main .text span {color:#f6914b;}

.main .text1 {padding:5px; font-size:14px; line-height:20px; color:#666;}
.main .text1 span {color:#f6914b;}


.main .input {height:36px; margin:14px 10px 0 0;background:#fff;border-radius:5px;}
.main .input input {width:100%;  height:36px; border:0px; outline:none; font-size:15px; color:#999;}

.main .sub {height:40px; background:#e53c39; margin-top:14px; border-radius:5px; text-align:center; line-height:40px; color:#fff; font-size:16px;}
.main .title {height:30px; margin-top:20px; font-size:12px; line-height:30px; color:#666;}
.vip_main {height:182px; background:#fff; border-radius:4px;}  
.vip_main .vip {height:36px; padding:12px; border-bottom:1px solid #f1f1f1; overflow:hidden; font-size:12px; color:#999;}
.vip_main .vip .ico1 {height:36px; width:36px; background:#32cd32; border-radius:18px; color:#fff; font-size:20px; line-height:36px; text-align:center; float:left;}
.vip_main .vip .ico2 {height:36px; width:36px; background:#fece00; border-radius:18px; color:#fff; font-size:22px; line-height:40px; text-align:center; float:left;}
.vip_main .vip .text {height:36px; margin-left:12px; float:left;}
.vip_main .vip .text .t1 {height:18px; font-size:15px; color:#666; line-height:18px;}
.vip_main .vip .text .t2 {height:18px; font-size:13px; color:#999; line-height:18px;}


.ok {height:200px; padding-top:65px;}
.ok .ico {height:65px; width:65px; margin:auto; border:3px solid #32cd32; border-radius:55px; color:#32cd32; font-size:50px; text-align:center; line-height:65px;}
.ok .text {height:20px; margin-top:30px; font-size:16px; color:#666; line-height:20px; text-align:center;}
.ok .sub {height:32px; width:145px; background:#e53c39; margin:20px auto; border-radius:20px; color:#fff; line-height:32px; text-align:center; font-size:16px;}
#myModal{top:10%;}

</style>
<link href="http://libs.baidu.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet">
<script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
<script src="http://libs.baidu.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>
<div id='container'></div>
<div class="top">
	<img src="../addons/ewei_shop/plugin/commission/template/mobile/default/static/images/bg1.jpg" />
</div>
<div class="ok">
	{if $saoyue_ok == 1}
    <div class="ico"><i class="fa fa-check"></i></div>
	<!-- <div class="text">成功领取金额{$saoyue['num']}元！{if $saoyue_rest >= 0} 您还可以领取{$saoyue_rest}次{/if}</div> -->
	<div class="text">成功领取金额{$saoyue['num']}元！</div>
	{else}
	<div class="ico"><i class="fa fa-remove"></i></div>
	<div class="text">领取余额失败！</div>
	{/if}
	<!-- <a href="{php echo $this->createMobileUrl('shop')}"><div class="sub">去商城逛逛</div></a> -->
	{if !empty($saoyue['link'])}<a href="{$saoyue['link']}">{else}<a href="{php echo $this->createMobileUrl('shop')}">{/if}<div class="sub">立即使用</div></a>
</div>
{if $gzxx !== 1}
<div class="modal fade in" id="myModal" tabindex="1" role="dialog" aria-labelledby="myModalLabel" data-backdrop="static" aria-hidden="false" style="text-align:center;display:block;">
    <img src="/app/resource/images/guanzhu.jpg" style="width:80%;border-radius:10px;position:relative;"/>
</div>
<div class="modal-backdrop fade in"></div>
{/if}
{template 'common/footer'}